package com.luomo.wenyuan.modules.wenyuan.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luomo.wenyuan.modules.wenyuan.entity.TPutinBookEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author
 * @email
 * @date 2020-10-19 15:58:39
 */
@Mapper
public interface TPutinBookDao extends BaseMapper<TPutinBookEntity> {

    List<TPutinBookEntity> getByPutinId(int putinId);

    List<TPutinBookEntity> getByPutinIdAndBookId(@Param("putinId") int putinId, @Param("bookId") int bookId);


}
